<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ViewAnnouncements.ascx.cs" Inherits="ViewAnnouncement" %>

    <h3>Announcements</h3>

    <asp:ListView ID="lvAnnouncements" runat="server">
        <LayoutTemplate>
            <table id="itemPlaceholderContainer" runat="server" >
                <tr id="itemPlaceholder" runat="server">
                </tr>
            </table>
        </LayoutTemplate>
        <ItemTemplate>
            <tr class="listview">
                <td>
                    Title:
                </td>
                <td>
                    <asp:Label ID="lblTitle" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Date Posted:
                </td>
                <td>
                    <asp:Label ID="lblDatePosted" runat="server" Text='<%# Eval("DatePosted") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Description:
                </td>
                <td>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("Description") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp
                </td>
                <td>
                    &nbsp
                </td>
            </tr>
        </ItemTemplate>
    </asp:ListView>


